//
//  NSDate+FormatterString.h
//  SmartPram
//
//  Created by Kendama on 2017/11/8.
//  Copyright © 2017年 Kendama. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSDate (FormatterString)

/**
 通过String转为0时区的date
 
 @param string       时间戳String
 @param formatterStr string的格式如yyyy-MM-dd HH:mm
 
 @return 返回date
 */
+ (NSString *)getDateWithStringSince1970ToSecond:(NSString *)string stringDateFormatter:(NSString *)formatterStr;

+ (NSString *)getDateWithDate:(NSDate *)date stringDateFormatter:(NSString *)formatterStr;


@end
